/**
 * create by young (young2f@outlook.com) on 2020/10/3
 */
'use strict';
import request from '../utils/request';
export async function createTenant(body) {
  return request('/api/tenant/create', {
    method: 'POST',
    body,
  });
}


export async function updateTenant(body) {
  return request('/api/tenant/update', {
    method: 'POST',
    body,
  });
}

export async function deleteTenant(body) {
  return request('/api/tenant/delete', {
    method: 'POST',
    body,
  });
}

export async function findTenants(body) {
  return request('/api/tenant/find/all', {
    method: 'POST',
    body,
  });
}
export async function findTenant(body) {
  return request('/api/tenant/find', {
    method: 'POST',
    body,
  });
}
